package jackson.src.day01;

/*
 * Author: JacksonCoder
 * FileName: extendClass
 * Version: 1.0.0
 */
public class extendClass {
    public static void main(String[] args) {
        System.out.println("this is extend file entry");

    }

}

class Person {

    private String name;

    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}

class Student  extends  Person{


    private int score;


    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}

